package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Customer;

import java.util.List;

/**
 * 郭俊才
 * 2021/8/27
 */
public interface CustomerService {
    //增加
    int saveSelective(Customer customer);
    //删除
    int removeByPrimaryKey(String id);
    //修改
    int editByPrimaryKeySelective(Customer customer);
    //根据主键查询
    Customer queryByPrimaryKey(String id);
    //有条件的查询全部
    List<Customer> queryAllByCondition(Customer customer);
    //根据主键查询详情
    Customer queryByPrimaryKeyForDetails(String id);

    List<Customer> queryCustomerByName(String customerName);
}
